﻿using System;

namespace MdcService.Configuration
{
	[AttributeUsage(AttributeTargets.Property)]
	public class SaveAttribute:Attribute
	{
		public string SectionName {get;  private set; }
		public string FieldName { get;  private set; }
		public int Order { get; private set; }

		public SaveAttribute(string sectionName , string fieldName, int order = 0)
		{
			SectionName = sectionName;
			FieldName = fieldName;
			Order = order;
		}
	}
}
